package com.nation.domain;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Date;

/**
 * Created by YeziAny on 2017/11/25.
 */
@Entity
@Table(name = "T_important_research_work", schema = "show_nation", catalog = "")
public class TImportantResearchWork implements Serializable {
    private int id;
    private String country_code;
    private String title;
    private String author;
    private String publisher;
    private String publish_time;
    private String e_book;
    private String recoder_id;
    private String recoder_time;


    public TImportantResearchWork(){}
    public TImportantResearchWork(String title,String author,String publisher,String publish_time){
//        this.country_code=country_code;
        this.title=title;
        this.author=author;
        this.publisher=publisher;
        this.publish_time=publish_time;
//        this.e_book=e_book;
    }

    @Id
    @Column(name = "id", nullable = false)
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Basic
    @Column(name = "country_code", nullable = false, length = 4)
    public String getCountryCode() {
        return country_code;
    }

    public void setCountryCode(String countryCode) {
        this.country_code = countryCode;
    }

    @Basic
    @Column(name = "title", nullable = false, length = 100)
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Basic
    @Column(name = "author", nullable = false, length = 100)
    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    @Basic
    @Column(name = "publisher", nullable = false, length = 200)
    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    @Basic
    @Column(name = "publish_time", nullable = false)
    public String getPublishTime() {
        return publish_time;
    }

    public void setPublishTime(String publishTime) {
        this.publish_time = publishTime;
    }

    @Basic
    @Column(name = "e_book", nullable = false, length = 255)
    public String geteBook() {
        return e_book;
    }

    public void seteBook(String eBook) {
        this.e_book = eBook;
    }

    @Basic
    @Column(name = "recoder_id", nullable = false, length = 3)
    public String getRecoderId() {
        return recoder_id;
    }

    public void setRecoderId(String recoderId) {
        this.recoder_id = recoderId;
    }

    @Basic
    @Column(name = "recoder_time", nullable = false)
    public String getRecoderTime() {
        return recoder_time;
    }

    public void setRecoderTime(String recoderTime) {
        this.recoder_time = recoderTime;
    }


}
